package com.java.service;


import com.java.model.hosp.Hospital;
import com.java.model.vo.HospitalQueryVo;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface HospitalService {

    /**
     * 保存医院数据
     * @param paramMap
     */
    void save(Map<String, Object> paramMap);

    /**
     * 获取医院数据
     * @return
     */
    Hospital getHospital(String hoscode);

    /**
     * 条件查询分页
     * @param pageNum
     * @param pageSize
     * @param hospitalQueryVo
     * @return
     */
    Page selectPageList(Integer pageNum, Integer pageSize, HospitalQueryVo hospitalQueryVo);

    void statusChanged(String id, Integer status);

    Map<String,Object> getHospitalById(String id);

    String getHosNameByHoscode(String hoscode);

    List<Hospital> getHospitalByhosname(String hosname);


    Map<String, Object> getHospitalByhoscode(String hoscode);
}
